﻿using System;
using System.Net;

namespace CrazyReader.Core.Crawl
{
    /// <summary>
    /// Web请求的缓存
    /// </summary>
    public class WebRequestCache
    {
        public WebRequestCache()
        {
        }

        public WebRequestCache(WebRequest request, IAsyncResult result)
        {
            Request = request;
            Result = result;
            IsStop = false;
        }

        public WebRequest Request { get; set; }
        public IAsyncResult Result { get; set; }
        public AsyncCallback Callback { get; set; }
        public Object Tag { get; set; }
        public bool IsStop { get; set; }
    }
}
